package com.lxq.www.aspect.dao;

import com.lxq.www.aspect.logentities.RequestLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RequestLogDao {

    @Insert("insert into requestLog values(#{id},#{requestIp},#{requestURL},#{requestMethod}," +
            "#{methodArgs},#{requestDate},#{requestHead},#{requestBody},#{responseHead},#{responseBody})")
    void save(RequestLog log);
}
